﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
public partial class uc_newsbycat : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {        
        if (!IsPostBack)
        {
            int gid = 0;
            if (Request.QueryString["gid"] != null)
                gid = int.Parse("0" + Request.QueryString["gid"].ToString());
            ltNewsByCate.Text = new CmsBLL().RenderNewsByCat(gid, "", 10, 10, 0, "ClientJumpPageNewsByCat", CommonBLL.SiteID);
        }

    }    
}